View Issue Details

IDProjectCategoryView StatusLast Update
0000860T99X171.00 SKB EagleSW Issuepublic2021-12-23 17:23
Reporter(ALTech) Jason ParkAssigned To(SW) Kerwin Chen Due Date
PriorityurgentSeveritys2-severeReproducibilityhave not tried
Status closedResolutionopen 
Summary0000860: [BFX_AT100][BTVQ-13516] when entering BA02 RCU OTA, during service device searching, BT send data is sented unstable.
DescriptionHi kerwin

The Airlog captured today shows the same phenomenon as the previous "AIrlog that does not receive RCU notification.
When entering OTA mode, Recovery working process was stopped.

When entering OTA mode, normal case for Re Service Discover Sequence.(Excel file)
https://drive.google.com/file/d/17qGSjS-9O1tZmgZRzNo2dbRYtUvt8C84/view?usp=sharing
 
When entering OTA mode, abnormal case for Re Service Discover Sequence.(Excel file)
https://drive.google.com/file/d/1G3IL0p0wVbs_OV5j2APX8TheiziAA05j/view?usp=sharing
 
Full airlog
https://drive.google.com/file/d/1wM8tvo81HwdPWB9OpmCQky9ZodwSsN2j/view?usp=sharing
-> after enter OTA mode, normal Frame period : Frame #52,438 ~ #75,838
-> after enter OTA mode, abnormal Frame period: Frame #88,500~


When happen issue, as push channel down key, a Find me feature is executed and BLE working is fine.
In airlog, according to do execute of Find me feature , restarted Service Discovery sequence. So it is fine.
Airlog link
https://drive.google.com/file/d/16ci82MeQZ45SLoNuGUnuoDC-9o2cvri-/view?usp=sharing
: after enter OTA mode, although start Service Discover, stopped period (Frame #113,101 ~ 113,302),
After execute Find me feature, Restart Service Discover and working fine period(Frame #138,441 ~ 140,188)
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (SW) Jacky Chiang

Activities

(ALTech) Jason Park

2020-07-24 10:26

developer   ~0003850

HI Kerwin

also I upload man.log . please check about this issue.
main_log_BMM.log (14,143,179 bytes)
main_log_BRM.log (8,060,135 bytes)

(SW) Kerwin Chen

2020-07-24 14:33

developer   ~0003852

Hi Jason,

From the log files, it seems there is an internal error in OTA application. ((BaseDfuAdapter.java:6)#A ]no callback registed)
Please check attached picture, even if STB finish discovering services, OTA still fails.
There are same errors in log file but OTA disconnect GATT before STB discover service.
I think this is why you see incomplete service discovery in airlog.
To solve this issue, you should ask OTA application developer to check.
Thanks !
OTA_Fail.png (442,243 bytes)

(ALTech) Jason Park

2020-07-28 16:21

developer   ~0003876

hi kerwin

Hi kerwin / jason.

RCU feedback about mantis 860 ?
Please see it on mantis.


They did test with BMM-BA02(v1.2) / V15.520.6. below issue happen.

1. according to slowed a Service Discovery ,it can be entered after approximately 45 seconds (in normal cases, within 2 seconds).
2. according to be stopped during processing a Service Discovery ,can't work input of RCU BLE



1. after 45s, can input BLE . Airlog(Lazy Discovery)
https://drive.google.com/file/d/19jv7JCEoPF8FxjX_M7BOjpj7ccvQ8_Ot/view?usp=sharing

- explnation
Frame #7,244~8,395 : Service Discovery since initial pairing (approximately 1 second)
Frame #23,779~25,157 : OTA enter 1st times (about 1s , BLE KEY Input Normal)
Frame #46,054~48,063 : OTA enter 2nd times (about 2s , BLE KEY Input Normal)
Frame #61,188~71,126 : OTA enter 3rd times (about 2s , BLE KEY Input Normal)
Frame #76,733~78,052 : OTA enter 4th times (about 2s , BLE KEY Input Normal))
Frame #89,545~91,772 : OTA enter 5th times (about 2s , BLE KEY Input Normal)
Frame #103,501~138,078 : OTA enter 6th times (about 45s, after 45s, BLE Key Inptut OK)


2. according to be stopped during processing a Service Discovery ,can't work input of RCU BLE ( it seem RCU send BLE Key in airlog)
https://drive.google.com/file/d/1ie2Yx-7WWUSy90hBm1cIco0XGvExVYyR/view?usp=sharing

- explanation
Frame #3,680~4,816 : Service Discovery since initial pairing (about 1s)
Frame #17,745~20,799 : OTA enter 1st times (about 4s, all service didn’t do discovery but BLE Key input is ok.)
Frame #60,069~62,610 : OTA enter 2nd times (about 3s, BLE Key input is ok)
Frame #75,628~77,588 : OTA enter 3rd times (about 2s, BLE Key input is ok)
Frame #98,117~100,154 : OTA enter 4th times OTA 진입 4 회(about 2s, BLE Key input is ok)
Frame #113,030~115,199 : OTA enter 5th times (about 3s, BLE Key input is ok)
Frame #127,246~130,338 : : OTA enter 6th times (about 4s, BLE Key input is ok)
Frame #141,851~181,317 : OTA enter 7th times (about 4s, BLE Key input is ok)
Frame #191,358~193,452 : OTA enter 8th times (about 2s, BLE Key input is ok)
Frame #205,360~229,183 : OTA enter 9th times (about 33s, Service Discovery is stopped, BLE KEY input don’t work)
Frame #246,724~246,758 : STB restarts Service Discovery but it is terminated and BLE Key don’t work.

(ALTech) Jason Park

2020-07-28 16:46

developer   ~0003878

hi kerwin

it isn't same time regarding to Upper log. but you can see a sequence. and see another log.


OTA enter, BLE key don't work
(STB Log)
https://drive.google.com/file/d/1fVNcVqCdB-ivz01ozHhbtOs6lydmp0AP/view?usp=sharing
(BLE Log)
https://drive.google.com/file/d/129toicvVZlWoqkIeyg5PvnAzA_lpEeVM/view?usp=sharing

OTA enter , BLE KEY is ok.
(STB Log)
https://drive.google.com/file/d/1drHaxLTmBlJoEvgFhBtI5RYbyBfIGadZ/view?usp=sharing
(BLE Log)
https://drive.google.com/file/d/1KhC1A_PK8-ZoVhabIhutNcOeazgl2CwX/view?usp=sharing

(SW) Kerwin Chen

2020-07-28 17:58

developer   ~0003880

Hi Jason,

The log you provided is not for "Service Discovery Disorder" issue, right ?
Is it for another issue about BLE key not working during OTA ?

(ALTech) Jason Park

2020-07-29 14:11

developer   ~0003883

hi kerwin

this request is BLE key don't work or work for BLE KEY input too late since Sequence Discovery process.
today I receive additional request as below.
STB has problems in discovery of RCU's service in entering OTA intermittently, and in the case of Android smartphone OTA App, when only connect to three devices (battery, PNPID, and OTA Service), do deal with Service Discovery. please see a picture.
so RCU is already connected between STB and RCU when accessing OTA via Hidden Menu and all services have been discoveryed, so it doesn't seem necessary to re-discovery when entering OTA separately, is it possible to modify this part in STB's iSet App?

< current >
When accessing OTA via Hidden Menu, Request all Service Discovery (During Re-Discovery is failed, RCU BLE don't work)

< Request for modification >
When accessing OTA via Hidden Menu, Only request a Discovery for Battery , PNP ID, OTA Service(0xfff1, 0xffd2, oxffe0)

Connect to android OTA Web Device(Samsung Note 8(Android 9) / BMM-BA02(v1.2)) Airlog

https://drive.google.com/file/d/1x-fki5a8w5tmHe-4bkNZJwA2e0HvwOIS/view?usp=sharing
serviceDiscovery.jpg (156,566 bytes)   
serviceDiscovery.jpg (156,566 bytes)   

(SW) Kerwin Chen

2020-07-29 16:56

developer   ~0003887

Hi Jason,

>>is it possible to modify this part in STB's iSet App?
RCU OTA is not included in iSet APP.
You should pass this request to RCU OTA APP develop company.
Please check again.
Thanks !

(ALTech) Jason Park

2020-07-30 10:05

developer   ~0003891

Last edited: 2020-08-10 12:55

hi kerwin

I think so.. I also check it with RCU Company.
Thanks

(ALTech) Jason Park

2020-08-10 13:11

developer   ~0003982

hi kerwin

Let me know an owner about a management of Service Discovery for OTA. I think it is responsible by MW. if it is wrong , please correct it.
1. when enter OTA of RCU if Service Discovery is proceed very too late( a few second ~ a few ten seconds), RCU BLE don't work during proceeding for Discovery in OTA.
https://drive.google.com/file/d/1IxPHKGiASGLJ4rin4TZCrrm5ge3JodbM/view?usp=sharing (STB log)

item 1 issue .. it happen in Remote solution RCU.

2. when Service Discovery is stopped in OTA, RCU BLE don't work.
https://drive.google.com/file/d/1_NoGFuGVLWElXshowSqFxkOFiMbHJIog/view?usp=sharing (STB log)

after upper step (RCU BLE don't work), if try to find RCU with using CH- Key, RCU is recovered via Discovery working again.
https://drive.google.com/file/d/1BMwYIhS1J-DVdpvmMVHxgIT-NPUXH0wp/view?usp=sharing (STB Log)

Thanks.

(ALTech) Jason Park

2020-08-10 17:44

developer   ~0003987

this issue is monitored by BTVD-9947 for next HomeUI 5.2.2.

(SW) Kerwin Chen

2020-08-10 21:00

developer   ~0003992

Hi Jason,

Per replied before, OTA process is handled by OTA app.
Please ask OTA developer to review log first.
Thanks !

(ALTech) Jason Park

2020-08-11 11:32

developer   ~0003994

HI Kerwin
according to skb manager and RCU company comment , other box don't have same problem in other box(AI2, AOSP).
So after check a log , investigate BT stack part about this issue.

Thanks.

(ALTech) Jason Park

2020-08-26 12:49

developer   ~0004133

hi kerwin
as we talked it yesterday, please start to debugging about this issue later after solve a high priorty issues.

Thanks

(SW) Kerwin Chen

2020-09-04 09:55

developer   ~0004229

Hi Jason,

Please check review result as below:

1. main_log_200804_BFX_AT100_v15_520_8_BMM_BA02_Lazy_Service_Discovery.log
==> From the log, BLE keys don't work because of idle timeout.
08-04 10:14:27.006 4133 4133 V OTA : [ (BaseDfuAdapter.java:1)#A ]notifyStateChanged 0x0400 >> 0x1000
08-04 10:14:27.006 4133 4133 D PopupHiddenMenuRemoteUpdate2: onStateChanged : 4096
08-04 10:14:27.007 4133 4133 V OTA : [ (BaseDfuAdapter.java:1)#A ]notifyStateChanged 0x1000 >> 0x0800
08-04 10:14:27.008 4133 4133 V OTA : [ (BaseDfuAdapter.java:6)#A ]no callback registed
08-04 10:14:27.008 4133 4133 V OTA : [ (GlobalGatt.java:6)#DisconnectGatt ]disconnect : 40:19:20:00:00:01
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                            OTA APP disconnect GATT, and then after 10s, STB reconnect to RCU again
after 10s......
08-04 10:14:37.797 17261 17262 D kernel : <6>[58702.615245@3] input: BMM_BA02_001 as /devices/virtual/misc/uhid/0005:005D:0002.002D/input/input49


2. main_log_BFX_AT100_v15_520_8_BMM_BA02_OTA_ServiceDiscovery_Stop.log
==> It is similar with previous log, OTA APP disconnect GATT because of "no callback registered".
It should be checked by OTA APP developer.

08-04 11:08:41.579 4122 4122 V OTA : [ (BaseDfuAdapter.java:1)#A ]notifyStateChanged 0x0400 >> 0x1000
08-04 11:08:41.579 4122 4122 D PopupHiddenMenuRemoteUpdate2: onStateChanged : 4096
08-04 11:08:41.580 4122 4122 V OTA : [ (BaseDfuAdapter.java:1)#A ]notifyStateChanged 0x1000 >> 0x0800
08-04 11:08:41.580 4122 4122 V OTA : [ (BaseDfuAdapter.java:6)#A ]no callback registed
08-04 11:08:41.581 4122 4122 V OTA : [ (GlobalGatt.java:6)#DisconnectGatt ]disconnect : 40:19:20:00:00:01

3. main_log_200804_BFX_AT100_v15_520_8_BMM_BA02_Lazy_n_Version_Mismatch.log
==> RCU is disconnected due to 10s idle timeout. And then STB reconnects to RCU successfully. Hence BLE key works well again.
I have no idea why idle timeout happens from the log file.

Issue History

Date Modified Username Field Change
2020-07-24 10:25 (ALTech) Jason Park New Issue
2020-07-24 10:26 (ALTech) Jason Park File Added: main_log_BMM.log
2020-07-24 10:26 (ALTech) Jason Park File Added: main_log_BRM.log
2020-07-24 10:26 (ALTech) Jason Park Note Added: 0003850
2020-07-24 10:26 (ALTech) Jason Park Assigned To => (SW) Kerwin Chen
2020-07-24 10:26 (ALTech) Jason Park Status new => assigned
2020-07-24 14:33 (SW) Kerwin Chen File Added: OTA_Fail.png
2020-07-24 14:33 (SW) Kerwin Chen Note Added: 0003852
2020-07-28 16:21 (ALTech) Jason Park Note Added: 0003876
2020-07-28 16:46 (ALTech) Jason Park Note Added: 0003878
2020-07-28 17:58 (SW) Kerwin Chen Note Added: 0003880
2020-07-29 14:11 (ALTech) Jason Park File Added: serviceDiscovery.jpg
2020-07-29 14:11 (ALTech) Jason Park Note Added: 0003883
2020-07-29 16:56 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (ALTech) Jason Park
2020-07-29 16:56 (SW) Kerwin Chen Status assigned => feedback
2020-07-29 16:56 (SW) Kerwin Chen Note Added: 0003887
2020-07-30 10:05 (ALTech) Jason Park Note Added: 0003891
2020-08-10 12:55 (ALTech) Jason Park Note Edited: 0003891
2020-08-10 13:11 (ALTech) Jason Park Note Added: 0003982
2020-08-10 13:14 (ALTech) Jason Park Assigned To (ALTech) Jason Park => (SW) Kerwin Chen
2020-08-10 13:14 (ALTech) Jason Park Status feedback => assigned
2020-08-10 17:44 (ALTech) Jason Park Note Added: 0003987
2020-08-10 21:00 (SW) Kerwin Chen Note Added: 0003992
2020-08-11 11:32 (ALTech) Jason Park Note Added: 0003994
2020-08-26 12:49 (ALTech) Jason Park Note Added: 0004133
2020-08-31 14:37 (ALTech) Jason Park Summary : [BFX_AT100][BTVQ-13516] Remote Control BT Disorder Symptoms when entering BA02 RCU OTA => [BFX_AT100][BTVQ-13516] Remote Control BT Disorder Symptoms when entering BA02 RCU OTA
2020-08-31 14:48 (ALTech) Jason Park Summary [BFX_AT100][BTVQ-13516] Remote Control BT Disorder Symptoms when entering BA02 RCU OTA => [BFX_AT100][BTVQ-13516] when entering BA02 RCU OTA, during service device searching, BT send data is sented unstable.
2020-09-01 20:55 (SW) Jacky Chiang Issue Monitored: (SW) Jacky Chiang
2020-09-04 09:55 (SW) Kerwin Chen Note Added: 0004229
2021-12-23 17:23 (SW) Jacky Chiang Status assigned => closed